﻿@using Microsoft.AspNetCore.Mvc.Localization

@inject IViewLocalizer Localizer
@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{


}

<h2>测试基于内容的多语言</h2>

<h3> ViewData["Message"]  :  @ViewData["Message"] </h3>


<p>Localizer["test text"] :  @Localizer["test text"]</p>


@await Html.PartialAsync("footer")
